package com.suxin.predicate;

import java.util.function.Predicate;

/**
 * @author Tang
 * @classname Client
 * @description [  ]
 * @date 2022/9/20 15:28
 */
public class Client {
    public static void main(String[] args) {
        Client client = new Client();
        Boolean result = AsyncPredicate.builder((Predicate<String>) (t) -> {
            return true;
        }).or((t) -> {
            return false;
        }).negate().apply("2");

        System.out.println(result);
    }
}
